#pragma once
/*
 * Created by: Mark Lavrynenko
 * Email:	MarkLavrinenko@gmail.com
 * Project:	  Huffman
*/

#include <stdint.h>
#include <vector>

using std::vector;

class BitSequence;

class CodingTable
{
public:
	CodingTable();
	const BitSequence* getCode(const uint8_t& byte) const;
	void add(const vector<char> &bits, uint8_t byte);
private:
	vector<BitSequence*> storage;
};
